﻿#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "MyTcpServer.h"
#include <QDebug>
#pragma execution_character_set("utf-8")

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::changeState()
{
    ui->lb_state->setText("服务器已连接");
    qDebug() <<"2222222222222222";
}

